package cn.demo.service;

import cn.demo.Util.Page;
import cn.demo.entity.Bill;
import cn.demo.entity.provider;

import java.util.List;

/**
 * @Author weizhongli
 * @Date 2020/3/22
 * @Version v1.0
 * @Description  账单业务层接口
 */
public interface BillService {
    public List<Bill> selectbill();

    public int deletebill(int id);

    public int updateBill(Bill bill);

    public List<Bill> selectBillandId(int id);

    public int insertBill(Bill bill);

    public List<provider> proList();

    public Page selectBillList(int PageIndex, int PageSize, String productName, int providerId, int isPayment);

    public int countBillList(String productName, int providerId, int isPayment);
}
